package com.markerhub.exception.apiException.authenticationException;

import com.markerhub.constant.ApiExceptionCodes;
import com.markerhub.exception.apiException.AuthenticationException;

/**
 * @Author by MaXiaofeng
 * @Description TODO
 * @Date 2022/2/21 12:19
 * @Version 1.0.0
 */

public class TokenNullException extends AuthenticationException {
    public TokenNullException() {
        super(ApiExceptionCodes.NOLL_TOKEN_EXCEPTION.getValue(), ApiExceptionCodes.NOLL_TOKEN_EXCEPTION.getDesc());
    }

    public TokenNullException(String message) {
        super(ApiExceptionCodes.NOLL_TOKEN_EXCEPTION.getValue(), message);
    }
}
